home *** CD-ROM | disk | FTP | other *** search
- Path: news.spies.com!usenet
- From: Erik Max Francis <max@alcyone.com>
- Newsgroups: comp.lang.c
- Subject: Re: Persistence support
- Date: Thu, 28 Mar 1996 20:23:05 -0800
- Organization: Alcyone Systems
- Message-ID: <315B65A9.6DEEFCBB@alcyone.com>
- References: <iefraue6qkn.fsf@wits-end.eecs.umich.edu>
- NNTP-Posting-Host: newton.alcyone.com
- Mime-Version: 1.0
- Content-Type: text/plain; charset=us-ascii
- Content-Transfer-Encoding: 7bit
- X-Mailer: Mozilla 2.01 (X11; I; Linux 1.2.13 i486)
-
- Niranjan Ramakrishnan wrote:
-
- > Does any one know of any libraries etc that might exist out there to
- > support persistence in C. My problem is I have an array of structures that
- > contain pointers in them which I need to write to a file and retrieve later.
- > However fwrite and fread won't work since it will just write the pointer
- > value and not the actual value contained in the location pointed to. I
- > heard that this is one of the big issues in persistence. Can some one
- > help me?
-
- You have to use a file format which is intelligent about what things are. You
- can't use pointers; you have to refer to the other objects in some other way.
-
- --
- Erik Max Francis &tSftDotIotE && http://www.alcyone.com/max && max@alcyone.com
- San Jose, California, U.S.A. && 37 20 07 N 121 53 38 W && the 4th R is respect
- H.3`S,3,P,3$S,#$Q,C`Q,3,P,3$S,#$Q,3`Q,3,P,C$Q,#(Q.#`-"C`- && 1love && folasade
- Omnia quia sunt, lumina sunt. && Dominion, GIGO, GOOGOL, Omega, Psi, Strategem
- "Out from his breast/his soul went to seek/the doom of the just." -- _Beowulf_
-